<div class="tab-pane active">
    <div class="box box-info">
        <div class="box-header with-border">
            <div class="form-group add-hint" style="display: none">
            <div class="box-title">员工信息填写</div>
        </div>

        <div class="box-body">
            <form class="form-horizontal" role="form">
                <fieldset>
                    <legend>基础信息</legend>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >工号</label>
                        <div class="col-sm-4">
                            <input class="form-control"   ng-model="addEmpData.jobnum" type="text" placeholder="工号" required />
                        </div>
                        <label   class="col-sm-2 control-label" >序号</label>
                        <div class="col-sm-4">
                            <input class="form-control"  ng-model="addEmpData.number"  type="text" placeholder="序号"/>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >姓名</label>
                        <div class="col-sm-4">
                            <input  ng-model="addEmpData.name" class="form-control"  type="text" placeholder="姓名" required />
                        </div>
                        <label class="col-sm-2 control-label" >联系方式</label>
                        <div class="col-sm-4">
                            <input class="form-control" ng-model="addEmpData.phone"   type="text" placeholder="联系方式" required />
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="newPhotoFile" >附件</label>
                        <div class="col-sm-4">
                            <!--<input type="file" name="file" id="newPhotoFile">-->
                            <!--<p class="help-block">上传附件</p>-->
                            <input type="file" id="newPhotoFile" name="file">
                            <p class="help-block">这里上传!!</p>
                        </div>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>公司信息</legend>
                    <div class="form-group">
                        <label   class="col-sm-2 control-label">部门</label>
                        <div class="col-sm-4">
                            <select ng-options="d.name for d in departList" ng-change="updateDepart(depart)" ng-model="depart" class="form-control" required >
                                 <option value="">请选择部门</option>
                            </select>

                        </div>
                        <label class="col-sm-2 control-label" >岗位</label>
                        <div class="col-sm-4">
                            <input  ng-model="addEmpData.post"  class="form-control"  type="text" placeholder="岗位" required />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >上级姓名</label>
                        <div class="col-sm-4">
                            <input  class="form-control"  ng-model="depart.manager_name"  type="text" placeholder="上级姓名" readonly/>
                        </div>
                        <label class="col-sm-2 control-label" >上级手机</label>
                        <div class="col-sm-4">
                            <input ng-model="depart.phone"  class="form-control"  type="text" placeholder="部门" readonly/>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >上级邮箱</label>
                        <div class="col-sm-4">
                            <input ng-model="depart.email"  class="form-control"  type="text" placeholder="上级邮箱" readonly/>
                        </div>

                    </div>
                </fieldset>

                <fieldset>
                    <legend></legend>
                    <div class="form-group">
                        <label   class="col-sm-2 control-label"></label>
                        <label   class="col-sm-2 control-label"></label>
                        <label   class="col-sm-2 control-label"></label>
                        <label   class="col-sm-2 control-label"></label>
                        <div class="col-sm-4">
                            <button ng-click="addEmp(addEmpData,depart)" class="btn btn-default" type="submit">保存提交</button>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>

</div>

